import Vue from 'vue'
import App from './App.vue'
//引入路由插件
import VueRouter from 'vue-router'
//引入路由器
import router from './router'
import "./assets/css/init.css"
import api from './api'
import bus from "./bus"
import ElementUI from 'element-ui';
import Vuex from 'vuex'
import store from './store'
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(Vuex)
Vue.use(ElementUI)
//使用路由插件
Vue.use(VueRouter)
Vue.prototype.$api = api;
Vue.prototype.$bus = bus;


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
